// storePackage/pages/myOrderDetail/myOrderDetail.js
Page({

    /**
     * 页面的初始数据
     */
    data: {
        orderStatus: 0,
        orderInfoBtn: [
            {
                name: '待支付',
                key: 0
            },
            {
                name: '已支付',
                key: 1
            },
            {
                name: '已完成',
                key: 2
            },
            {
                name: '待退款',
                key: 3
            },
           
        ],
        dataList: [
            { examStatus: 1 },
            { examStatus: 2 },
            { examStatus: 3 }
        ]
    },


    /**
     * 生命周期函数--监听页面加载
     */
    onLoad(options) {

    },

    /**
     * 生命周期函数--监听页面显示
     */
    onShow() {

    },
    cutButton(e) {
        console.log(e)
        let index = e.currentTarget.dataset.index
        this.setData({
            orderStatus: index
        })
    }
})